﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ihongma.test
{
    public class Fire
    {
        public string url { get; set; }
        public int width { get; set; }
        public int height { get; set; }
    }

    public class Metal
    {
        public string url { get; set; }
        public int width { get; set; }
        public int height { get; set; }
    }

    public class Wood
    {
        public string url { get; set; }
        public int width { get; set; }
        public int height { get; set; }
    }

    public class Earth
    {
        public string url { get; set; }
        public int width { get; set; }
        public int height { get; set; }
    }

    public class Images
    {
        public Fire fire { get; set; }
        public Metal metal { get; set; }
        public Wood wood { get; set; }
        public Earth earth { get; set; }
    }

    public class Datum
    {
        public int id { get; set; }
        public string title { get; set; }
        public string like { get; set; }
        public bool login { get; set; }
        public bool edit { get; set; }
        public string image_url { get; set; }
        public string image_url_fire { get; set; }
        public bool video { get; set; }
        public int image_height { get; set; }
        public int image_width { get; set; }
        public int like_num { get; set; }
        public int comment_num { get; set; }
        public int remark_num { get; set; }
        public string latitude { get; set; }
        public string longitude { get; set; }
        public string city { get; set; }
        public string spot_type { get; set; }
        public int category_id { get; set; }
        public string created_at { get; set; }
        public string owner_name { get; set; }
        public string owner_url { get; set; }
        public int owner_id { get; set; }
        public string owner_avatar { get; set; }
        public int board_id { get; set; }
        public string board_name { get; set; }
        public string quoted_board_id { get; set; }
        public string quoted_board_name { get; set; }
        public string quoted_owner_id { get; set; }
        public string quoted_owner_name { get; set; }
        public Images images { get; set; }
        public List<object> comments { get; set; }
    }

    public class RootObject
    {
        public bool success { get; set; }
        public string message { get; set; }
        public string path { get; set; }
        public int count { get; set; }
        public string echo { get; set; }
        public List<Datum> data { get; set; }
    }
}